<template>
  <div id="CMenu">
    <div class="nav-left">
      <ul>
        <li>
          <a class="nav-left-link" href="#num-1">优惠早餐</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-2">天天一元</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-3">优惠套餐</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-4">大方比萨</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-5">经典比萨</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-6">饭面</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-7">小食</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-8">饮料</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-9">沙拉/汤/甜品</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-10">工作日午餐</a>
        </li>
        <li>
          <a class="nav-left-link" href="#num-11">超值下午茶</a>
        </li>
      </ul>
    </div>
    <div class="nav-top">
      <div class="nav-top-explain">
        <div class="nav-top-explain-header">
          <ul>
            <li>
              <a href>类型说明</a>
            </li>
            <li>
              <a href>尺寸说明</a>
            </li>
          </ul>
        </div>
        <div class="nav-top-explain-remark">
          <div class="fa fa-close fa-3x closeBtn"></div>
        </div>
      </div>
      <div class="nav-top-classify">
        <ul class="left">
          <li class="classify-title">
            <i class="fa fa-info"></i>
            <span>类型</span>
          </li>
          <li class="classify-left-sub active">不限</li>
          <li class="classify-left-sub">芝心</li>
          <li class="classify-left-sub">薄底</li>
          <li class="classify-left-sub">铁盘</li>
          <li class="classify-left-sub">二合一</li>
        </ul>
        <ul class="right">
          <li class="classify-title">
            <i class="fa fa-info"></i>
            <span>尺寸</span>
          </li>
          <li class="classify-right-sub active">不限</li>
          <li class="classify-right-sub">6英寸</li>
          <li class="classify-right-sub">9英寸</li>
          <li class="classify-right-sub">10英寸</li>
          <li class="classify-right-sub">12英寸</li>
        </ul>
      </div>
    </div>
    <div class="product">
      <div class="product-list">
        <ul>
          <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li> <li>
            <div class="product-info">
              <div class="product-pic"></div>
              <div class="product-name">黄金夏威夷风光比萨</div>
              <div class="product-hear"><i class="fa fa-thumbs-up"></i></div>
              <div class="product-price">
                <span class="price">8.3</span><span class="unit">元</span><span class='size'>/10英吋</span>
              </div>
              <div class="product-order">
                <button class="order">开始订餐</button>
              </div>
            </div>
          </li>
        </ul>
      </div>
      <div class="product-notify">没有相关产品</div>
      <div class="product-footer">
        <span>* 图例均为9寸比萨（芝心比萨除外）</span>
      </div>
    </div>
    <!-- <div class="clearfloat"></div> -->
  </div>
</template>

<script>
export default {
  name: "Menu",
  data() {
    return {
      title: "There is Menu"
    };
  }
};
</script>

<style>
#CMenu {
  width: 100%;
  /* height: 555px; */
  position: relative;
}
#CMenu .nav-left {
  position: fixed;
  top: 70px;
  width: 120px;
  z-index: 1000;
  font-size: 14px;
  text-align: right;
  background-color: #f9f6f0;
  padding-top: 20px;
}
#CMenu .nav-left ul li {
  padding-right: 20px;
}
#CMenu .nav-left-link {
  color: #363636;
  margin-top: 16px;
  line-height: 23px;
  display: inline-block;
  width: 100%;
  border: 1px solid #f9f6f0;
}
#CMenu .nav-left-link:hover,
#CMenu .nav-left-link:active {
  border-bottom: 1px solid #f40;
  color: #f40;
}
#CMenu .nav-top {
  position: fixed;
  margin-left: 120px;
  top: 70px;
  width: 1080px;
  background-color: #f2efe9;
  z-index: 2000;
}
.nav-top-explain {
  display: none;
}
.nav-top-explain-header {
  width: 100%;
  height: 40px;
}
.nav-top-explain-header ul {
  width: 1080px;
  height: 40px;
  text-align: center;
  position: absolute;
  letter-spacing: -0.2em;
}
.nav-top-explain-header ul li {
  display: inline-block;
}
.nav-top-explain-header ul li a {
  display: block;
  width: 140px;
  height: 60px;
  line-height: 60px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #888;
  /* background-color:yellow; */
  border: 5px;
  border-bottom: #ddd solid;
}
.nav-top-explain-header ul li a .active,
.nav-top-explain-header ul li a:hover {
  border-bottom: #f40 solid;
  color: #000;
}
.nav-top-explain-remark {
  width: 1080px;
  height: 450px;
  background: url("/static/img/size_desc.jpg");
}

.nav-top-explain-remark .closeBtn {
  position: relative;
  display: block;
  width: 100px;
  height: 50px;
  border-radius: 100px 100px 0 0;
  margin: 0 auto;
  top: 400px;
  background-color: #ccc;
  text-align: center;
  line-height: 60px;
  color: #999;
  cursor: pointer;
}
.nav-top-classify {
  width: 1080px;
  height: 88px;
  background-color: white;
}
.nav-top-classify ul.right {
  margin-right: 188px;
}
.nav-top-classify .classify-title {
  display: inline-block;
  font-size: 14px;
  margin: 20px;
  font-weight: 700;
}
.nav-top-classify .classify-title i {
  border: 2px solid #68d381;
  color: #68d381;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  margin-right: 5px;
}
.nav-top-classify .classify-title i:hover {
  color: #fff;
  background-color: #68d381;
  cursor: pointer;
}

.nav-top-classify .classify-left-sub,
.nav-top-classify .classify-right-sub {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  text-align: center;
  border-radius: 50%;
  margin-top: 19px;
  line-height: 42px;
  font-size: 12px;
  margin-right: 15px;
}

.nav-top-classify .classify-left-sub.active,
.nav-top-classify .classify-left-sub:hover {
  background-color: #f40;
  color: #fff;
  cursor: pointer;
}
.nav-top-classify .classify-right-sub.active,
.nav-top-classify .classify-right-sub:hover {
  color: #fff;
  background-color: #68d381;
  cursor: pointer;
}

#CMenu .product * {
  /* border:1px solid red; */
  box-sizing: border-box;
}

#CMenu .product {
  position: relative;
  left: 120px;
  top: 88px;
  /* height: 999px; */
  min-height: 200px;
  width: 1080px;
  /* background-color: yellow; */
  /* border: 1px solid blue; */
}
/* #CMenu .product .product-list {
  overflow: auto;
} */

#CMenu .product .product-list ul li {
  float: left;
}
#CMenu .product .product-info {
  width: 209px;
  height: 287px;
  border: 1px solid #eee;
  margin: 3px;
}
#CMenu .product .product-info:hover {
  box-shadow: 0 2px 10px #444;
}

#CMenu .product .product-info .product-pic {
  width: 100%;
  height: 139px;
  background-image: url("/static/img/72_12563.jpg");
  background-size: 209px 209px;
  background-position-y: -33px;
}

#CMenu .product .product-info .product-name {
  font-weight: 700;
  text-align: center;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  margin: 0 auto;
}
#CMenu .product .product-info .product-hear {
  width: 100%;
  height: 12px;
  text-align: center;
}
#CMenu .product .product-info .product-hear i{
color:#f40;
}
#CMenu .product .product-info .product-price {
  width: 100%;
  height: 40px;
  text-align: center;
}
#CMenu .product .product-info .product-price .price{
  width: 100%;
  height: 40px;
  text-align: center;
  font-weight:700;
  line-height:40px;
  color:red;
  font-size:18px;
}
#CMenu .product .product-info .product-price .unit{
  width: 100%;
  height: 40px;
  text-align: center;
  line-height:40px;
  color:red;
  font-size:12px;
}
#CMenu .product .product-info .product-price .size{
  width: 100%;
  height: 40px;
  text-align: center;
  line-height:40px;
  font-size:12px;
  color:#666;
}
#CMenu .product .product-info .product-order {
  width: 100%;
  height: 32px;
  text-align: center;
}
#CMenu .product .product-info .product-order .order {
  width: 80px;
  height: 32px;
  text-align: center;
  margin: 2px;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: #68d381;
  color: #fff;
  border-radius: 3px;
}

#CMenu .product .product-notify {
  width: 100%;
  height: 200px;
  text-align: center;
  line-height: 200px;
  color: #888;
  font-size: 18px;
  letter-spacing: 0.5em;
  display: none;
}

#CMenu .product .product-footer {
  height: 200px;
  right: 0;
  line-height: 50px;
  font-weight: 700;
  color: #888;
  font-size: 14px;
  text-align: right;
}
</style>
